package com.li.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.li.domain.FileAddress;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface FileAddressMapper extends BaseMapper<FileAddress> {
    List<FileAddress> listPageFileAddress(@Param("fileAddress") FileAddress fileAddress,
                                          @Param("indexPage") Integer indexPage,
                                          @Param("limit") Integer limit);

    Integer listPageFileAddressCount(@Param("fileAddress") FileAddress fileAddress);
}